﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PBKApplication
{
    class ContextMenuVideo : ContextMenuStrip
    {
        public ToolStripMenuItem playToolStripMenuItem
        {
            get;
            private set;
        }
        public ToolStripMenuItem downloadToolStripMenuItem
        {
            get;
            private set;
        }
        public PBKVideo.Video VideoInfo
        {
            get;
            private set;
        }

        public ContextMenuVideo(PBKVideo.Video vid)
        {
            this.VideoInfo = vid;

            playToolStripMenuItem = new ToolStripMenuItem();
            playToolStripMenuItem.Name = "playToolStripMenuItem";
            playToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            playToolStripMenuItem.Text = "Play";

            downloadToolStripMenuItem = new ToolStripMenuItem();
            downloadToolStripMenuItem.Name = "downloadToolStripMenuItem";
            downloadToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
            downloadToolStripMenuItem.Text = "Download";

            this.Items.Add(playToolStripMenuItem);
            this.Items.Add(downloadToolStripMenuItem);
        }
    }
}
